/**
 * 
 */
package com.estock.platform.http.response;

import com.estock.common.model.BaseDownloadObject;


/**
 * @author richard
 *
 */
public class DownloadResponse extends BaseResponse {
	
	private static final String FILENAME = "filename";
	
    public BaseDownloadObject getDownloadObject() {
		return new BaseDownloadObject(getParam(FILENAME));
    }
    
    public void setFileName(String filename) {
    	parameters.put(FILENAME, filename);
    }
    
}
